package com.autcar.training.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ProjectName: training
 * @Package: com.autcar.training.entity
 * @ClassName: Goods
 * @Author: YHHHH
 * @Description: 商品类
 * @Date: 2020/8/28 15:12
 * @Version: 1.0
 */
@Data
@TableName("goods")
public class Goods {

    /*
    商品编号
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /*
    商品名字
     */
    private String name;

    /*
    商品图片
     */
    private String image;

    /*
    商品介绍
     */
    private String introduce;

    /*
    商品价格
     */
    private Integer price;

    /*
    商品状态  0为未交易成功 1未交易成功
     */
    private Integer sales;
}
